package com.ruoyi.restaurant.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评论对象 res_review
 * 
 * @author zhengzijia0934
 * @date 2023-12-20
 */
public class ResReview extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评论编号 */
    private Long id;

    /** 顾客名称 */
    @Excel(name = "顾客名称")
    private String nameC;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String nameD;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String review;

    /** 评分 */
    @Excel(name = "评分")
    private Long star;

    /** 所属店铺id */
    @Excel(name = "所属店铺id")
    private Long shopId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNameC(String nameC) 
    {
        this.nameC = nameC;
    }

    public String getNameC() 
    {
        return nameC;
    }
    public void setNameD(String nameD) 
    {
        this.nameD = nameD;
    }

    public String getNameD() 
    {
        return nameD;
    }
    public void setReview(String review) 
    {
        this.review = review;
    }

    public String getReview() 
    {
        return review;
    }
    public void setStar(Long star) 
    {
        this.star = star;
    }

    public Long getStar() 
    {
        return star;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nameC", getNameC())
            .append("nameD", getNameD())
            .append("review", getReview())
            .append("star", getStar())
            .append("shopId", getShopId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
